import axios from 'axios';
const req = axios.create({
  timeout: 40000,
  baseURL: "http://localhost:8080"
})
req.interceptors.request.use(config => {
  return config
})
req.interceptors.response.use(config => {
  return config.data
})
export default req